package com.loves.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.loves.admin.model.User;
import com.loves.admin.vo.UserExportVO;

import java.util.List;

public interface UserService {

    IPage<User> selectPageVo(Page<User> page,int age);

    User initializationUser(String userName,String accountId);

    boolean insert(User user);

    boolean update(User user);

    boolean delete(String id);

    List<User> findAllList();

    List<UserExportVO> findByExport();

    User findByAccountId(String accountId);
}
